<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- <meta name="viewport" content="target-densitydpi=device-dpi,width=750,user-scalable=no" /> -->
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
	<title>视频播放</title>
	<meta http-equiv="cleartype" content="on">
    <meta name="apple-mobile-web-app-title" content="...">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="x-rim-auto-match" content="none">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
	<!-- windows phone 点击无高光 -->
	<meta name="msapplication-tap-highlight" content="no">
	<link rel="stylesheet" type="text/css" href="/css/base2.css" />
	<script type="text/javascript" src="/js/mobile2/lib/jquery-1.10.1.min.js"></script>

</head>
<body>
	<div class="main" style="padding-top: 5.12rem;">
		<div class="video-fixed">
			<!-- top -->
			<div class="page-title">
				<div class="icon c-back" onclick="window.history.back(-1)"></div>
				<span class="icon t-logo"></span>
				<span class="icon t-user" onclick="window.location.href='/usercenter2'"></span>
				<span class="icon t-search" onclick="window.location.href='/search2'"></span>
			</div>
			<div class="video">
				<!-- 底部操作按钮 -->
				<div class="video-ops">
					<i class="vp-timer">00:00:00</i>
					<span class="vp-progress">
						<div class="pg-bg">
							<span class="pg-ranks"></span>
						</div>
						<div class="pg-tag"></div>
					</span>
					<span class="vp-ctimer">
						<i class="ctimer-l">00:00:00</i> /
						<i class="ctimer">00:00:00</i>
					</span>
					<span class="icon vp-screen"></span>
				</div>
				<!-- 视屏视频中间点击图标 -->
				<div class="v-btn"></div>
				<!-- 视频播放 -->
				<video  width="100%" height="100%" class="my-video" >
					<source src="${videoVoucher}" type="video/mp4"></video>
				sorry
				</video>
				<!-- 视屏蒙层 -->
				<div class="video-m">视屏加载中、、、请稍后</div>
			</div>
		</div>
		<div class="down-btn" onclick="DwonApp()">
			<i class="down-app" >使用APP观看，速度更快</i>
		</div>
		<div class="video-info">
			<div class="v-title">${film.fName}</div>
			<div class="v-source">
				<span class="show-source">
					<i class="star whole"></i>
					<i class="star whole"></i>
					<i class="star whole"></i>
					<i class="star whole"></i>
					<i class="star whole"></i>
					<!-- <i class="star whole"></i>
					<i class="star half"></i>
					<i class="star no"></i> -->
				</span>
				<i class="source-num">${film.fScore}</i>
			</div>
			<div class="v-type">${film.fYear?c}年上映·${film.fCountryname}·${film.fFilmtypename}</div>
			<div class="v-ind">
				简介：${filminfo.fIntroduce}
			</div>
			<!-- absolute -->
			<div class="want-see">
				<i class="icon want-tag"></i>
				想看
			</div>
			<div class="icon show-ind"></div>
		</div>
		<!-- 影片展示区 -->
		<!-- 电影列表 -->
		<div class="move-list">
			<div class="move-title">
				<span class="mt-name">大家都在看</span>
			</div>
			<div class="move-c" id="category-head">

			</div>
		</div>
		<div class="loading-finish"></div>
		<!-- come back top -->
		<div class="icon c-top">
			
		</div>
		<!-- ibottom -->
		<div class="ibot-box">
			<div class="ibot-layer"></div>
			<span class="ibot">
				<span class="icon itop-close"></span>
				<span class="icon ibot-logo"></span>
				<span class="ibot-txt">爱电影，爱生活</span>
				<span class="ibot-down" onclick="DwonApp()">立即下载</span>
			</span>
		</div>
	</div>
	<script type="text/javascript" src="/js/mobile2/lib/idangerous.swiper.min.js"></script>
	<script type="text/javascript" src="/js/mobile2/js/myvideo.js"></script>
	<script type="text/javascript" src="/js/mobile2/js/base.js"></script>
	<script type='text/javascript' src='/js/mobile2/js/mobilecom.js' charset='utf-8'></script>
<script>
	if ('${iscollect}'=='ok'){
        $('.want-see').addClass("active");
	}
	else{
        $('.want-see').removeClass("active");
    }

    LoadGussYourLike();
    function LoadGussYourLike() {
        var filtype='${film.fFilmtype?string}';
        $.ajax({
            type: 'get',
            url: '/api/film/guessfilmlist?filmtype='+filtype+'&count=4',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    //{"code":"OperateOk","errorMsg":"","result":{"list":[{"fId":"594cabc05bc42d07a0aa541a","fName":"一个钓鱼的故事","fFilmtype":"1000010100000000000","fYear":2016,"fCountry":12,"fKeyword":"一个钓鱼的故事","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87fe37ca1d108069af15.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adca774c36b070e69ec8e.jpg","fDirector":"Matt Birman","fPerformer":"Eddie McClintock, Jayne Heitmeyer, Jordyn Negri ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:20:23","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":2,"fMakecollect":13,"fPlayct":132,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":22,"fSourceurl":null,"fCountryname":"加拿大","fFilmtypename":"喜剧/剧情/奇幻","fImpression":"印象"},{"fId":"5930e4cd1c886e2dc0d45342","fName":"末世迷踪：下一代","fFilmtype":"0000000100000000000","fYear":2016,"fCountry":4,"fKeyword":"末世迷踪：下一代","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a88f137ca1d108069af17.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcc774c36b070e69ec90.jpg","fDirector":"Larry A. McLean","fPerformer":" Amber Frank, Mason Dye, Dylan Sprayberry","fShowtime":"2017-06-02","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-02 12:08:34","fShow":1,"fLookct":1,"fMakelookct":15,"fGoodct":2,"fMakegoodct":25,"fCollect":2,"fMakecollect":0,"fPlayct":17,"fMakepalyct":5,"fSharect":1,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"奇幻","fImpression":null},{"fId":"594c95065bc42d07a03f1fac","fName":"大婴儿","fFilmtype":"1100010000000000000","fYear":2015,"fCountry":4,"fKeyword":"大婴儿","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a887337ca1d108069af16.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcb874c36b070e69ec8f.jpg","fDirector":"Stephen Langford","fPerformer":"Maureen McCormick, Andrew Lawrence, Ken Davitian","fShowtime":"2015-12-12","fScore":0.0,"fPricetagid":"1","fPricetagname":"2元电影","fIntime":"2017-06-23 12:43:35","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":1,"fMakecollect":13,"fPlayct":11,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情/剧情","fImpression":"印象"},{"fId":"594cacc75bc42d07a0aa541b","fName":"正义","fFilmtype":"1100000000000000000","fYear":2016,"fCountry":4,"fKeyword":"正义","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87a137ca1d108069af14.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adc9d74c36b070e69ec8d.jpg","fDirector":"Richard Gabai","fPerformer":" Stephen Lang, Jackson Rathbone, Jamie-Lynn Sigler ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:24:45","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":0,"fMakecollect":13,"fPlayct":4,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":0,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情","fImpression":"印象"}]},"allcount":0}
                    var videoList=data.result;
                    if(videoList&& videoList.length>0){
                        var _html='';
                        $.each(videoList,function (index,item) {
                            _html+='<span class="mc-list" onclick="GoToVideoInfo(\''+item.fId+'\')">'+
                                '<div class="mc-img">'+
                                '<img  src="'+item.fPhoto+'">'+
                                '<i class="mc-source">'+item.fScore+'</i>'+
                                '</div>'+
                                ' <div class="mc-name">'+item.fName+'</div>'+
                                ' </span>';

                        });
                        $('#category-head').html(_html);
                    }

                }
            }
        });
    }

    function AddCollect(objid){
        $.ajax({
            type: 'post',
            url: '/api/videocount/addcollectlog?classtype=1&objectid='+objid+'&apptype=3',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    //{"code":"OperateOk","errorMsg":"","result":{"list":[{"fId":"594cabc05bc42d07a0aa541a","fName":"一个钓鱼的故事","fFilmtype":"1000010100000000000","fYear":2016,"fCountry":12,"fKeyword":"一个钓鱼的故事","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87fe37ca1d108069af15.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adca774c36b070e69ec8e.jpg","fDirector":"Matt Birman","fPerformer":"Eddie McClintock, Jayne Heitmeyer, Jordyn Negri ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:20:23","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":2,"fMakecollect":13,"fPlayct":132,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":22,"fSourceurl":null,"fCountryname":"加拿大","fFilmtypename":"喜剧/剧情/奇幻","fImpression":"印象"},{"fId":"5930e4cd1c886e2dc0d45342","fName":"末世迷踪：下一代","fFilmtype":"0000000100000000000","fYear":2016,"fCountry":4,"fKeyword":"末世迷踪：下一代","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a88f137ca1d108069af17.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcc774c36b070e69ec90.jpg","fDirector":"Larry A. McLean","fPerformer":" Amber Frank, Mason Dye, Dylan Sprayberry","fShowtime":"2017-06-02","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-02 12:08:34","fShow":1,"fLookct":1,"fMakelookct":15,"fGoodct":2,"fMakegoodct":25,"fCollect":2,"fMakecollect":0,"fPlayct":17,"fMakepalyct":5,"fSharect":1,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"奇幻","fImpression":null},{"fId":"594c95065bc42d07a03f1fac","fName":"大婴儿","fFilmtype":"1100010000000000000","fYear":2015,"fCountry":4,"fKeyword":"大婴儿","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a887337ca1d108069af16.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcb874c36b070e69ec8f.jpg","fDirector":"Stephen Langford","fPerformer":"Maureen McCormick, Andrew Lawrence, Ken Davitian","fShowtime":"2015-12-12","fScore":0.0,"fPricetagid":"1","fPricetagname":"2元电影","fIntime":"2017-06-23 12:43:35","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":1,"fMakecollect":13,"fPlayct":11,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情/剧情","fImpression":"印象"},{"fId":"594cacc75bc42d07a0aa541b","fName":"正义","fFilmtype":"1100000000000000000","fYear":2016,"fCountry":4,"fKeyword":"正义","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87a137ca1d108069af14.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adc9d74c36b070e69ec8d.jpg","fDirector":"Richard Gabai","fPerformer":" Stephen Lang, Jackson Rathbone, Jamie-Lynn Sigler ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:24:45","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":0,"fMakecollect":13,"fPlayct":4,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":0,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情","fImpression":"印象"}]},"allcount":0}
                    if (data.code=='OperateOk'){
                        alert('收藏成功！');
                        $('.want-see').addClass("active");
                        filmObject.pno=1;
                        LoadComment();
                    }
                    else if (data.code=='OperateFail'){
                        alert('收藏失败！')
                    }
                    else if(data.code=='FiledRepeat'){
                        $('.want-see').addClass("active");
                        alert('您已经添加收藏！')
                    }

                }
            }
        });
    }

</script>
</body>
</html>